package bean;

import java.util.List;

public class Student {
	
	public Integer get_id() {
		return _id;
	}
	public void set_id(Integer _id) {
		this._id = _id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "{ \"_id\" : " + _id + ", \"name\" : " + "\"" + name + "\"" + ", \"scores\" : " + scores
				+ " }";
	}
	public List<Score> getScores() {
		return scores;
	}
	public void setScores(List<Score> scores) {
		this.scores = scores;
	}

	private Integer _id ;
	private String name ;
	private List<Score> scores ;

}
